package com.greenline.push.dal.pushcenter.dataobject;

import java.util.Date;

/**
 * template <br/>
 * 2014-10-09<br/>
 * 
 * @author shuai.zuo
 */
public class TemplateDO {

    private Long id;

    private Date gmtCreated;

    private Date gmtModified;
    // 备注
    private String memo;
    // 模板标题
    private String title;
    // 模板配置
    private String text;
    // 是否启用
    private Integer status;
    // 业务优先级
    private Integer priority;
    // 分类id
    private Long categoryId;
    // 分类id
    private String categoryName;
    private String params;// 参数.业务需要的参数.可用来校验
    private String code;
    private String descr;//参数对应的解析.和aprams一样 ,用逗号分开.多少个参数就多少个注释
    
    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 备注
     * 
     * @return memo
     */
    public String getMemo() {
        return memo;
    }

    /**
     * 备注
     * 
     * @param memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 模板标题
     * 
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 模板标题
     * 
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 模板配置
     * 
     * @return text
     */
    public String getText() {
        return text;
    }

    /**
     * 模板配置
     * 
     * @param text
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * 是否启用
     * 
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 是否启用
     * 
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 业务优先级
     * 
     * @return priority
     */
    public Integer getPriority() {
        return priority;
    }

    /**
     * 业务优先级
     * 
     * @param priority
     */
    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    /**
     * 分类id
     * 
     * @return categoryId
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 分类id
     * 
     * @param categoryId
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

}